package com.tusuo.stds.rest;

import org.parceler.Parcel;

import java.util.List;

/**
 * @author J.Huang
 * @version 1.0
 *
 */

@Parcel
public class RankList extends ApiResult {
    public String Title;
    public Rank MyRank;
    public List<Rank> RankList;

    @Parcel
    public static class Rank {

        public String Id;
        public String Photo;
        public String Name;
        public String SchoolName;
        public int Rank;
        public int Score;
        public int ClearanceTime;
        public int CompletionStatus;


        @Override
        public String toString() {
            return "Rank{" +
                    "Id='" + Id + '\'' +
                    ", Photo='" + Photo + '\'' +
                    ", Name='" + Name + '\'' +
                    ", SchoolName='" + SchoolName + '\'' +
                    ", Rank=" + Rank +
                    ", Score=" + Score +
                    ", ClearanceTime=" + ClearanceTime +
                    ", CompletionStatus=" + CompletionStatus +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "RankList{" +
                "Title='" + Title + '\'' +
                ", MyRank=" + MyRank +
                ", RankList=" + RankList +
                '}';
    }
}
